icon-theme: Use "Scale" for key as per the spec
authorAlexander Larsson <alexl@redhat.com>
Mon, 19 Aug 2013 13:41:49 +0000 (15:41 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 19 Aug 2013 14:01:57 +0000 (16:01 +0200)
The latest spec proposal uses "Scale", not "OutputScale", so use this.

gtk/gtkicontheme.c

index 7b9faf10b7752b7bdbabd66e8494896ef381deb3..b6066062fcff51004ec77cb89b426e9a41c28bab 100644 (file)
@@ -3160,8 +3160,8 @@ theme_subdir_load (GtkIconTheme *icon_theme,
   else
     threshold = 2;
 
-  if (g_key_file_has_key (theme_file, subdir, "OutputScale", NULL))
-    scale = g_key_file_get_integer (theme_file, subdir, "OutputScale", NULL);
+  if (g_key_file_has_key (theme_file, subdir, "Scale", NULL))
+    scale = g_key_file_get_integer (theme_file, subdir, "Scale", NULL);
   else
     scale = 1;